<template>
	<view class="list">
		<view class="listItem" @click="toOrder">我的订单</view>
		<view class="listItem" @click="toaddress">我的地址</view>
	</view>
</template>

<script setup>
	function toaddress(){
		uni.navigateTo({
			url:'address'
		})
	}
	function toOrder(){
		uni.navigateTo({
			url:'order'
		})
	}
</script>

<style>
	page{
		background:#f0f0f0;
		height:85vh;
		padding:20rpx 0;
	}
	.list{
		width:690rpx;
		margin:0rpx auto;
		/* padding:20rpx; */
		background:#fff;
		border-radius:30rpx;
		box-sizing: border-box;
	}
	.listItem{
		height:80rpx;
		width:650rpx;
		margin:0 auto;
		line-height:80rpx;
		border-bottom:1px solid #f0f0f0;
	}
</style>